// Package types provides primitives to interact with the openapi HTTP API.
//
// Code generated by github.com/deepmap/oapi-codegen version v1.15.0 DO NOT EDIT.
package types

// Error standard error
type Error struct {
	// Detail Details about the error.
	Detail *string `json:"detail,omitempty"`

	// Instance The portal traceback code
	Instance string `json:"instance"`

	// InvalidParameters TODO
	InvalidParameters *[]InvalidParameters `json:"invalid_parameters,omitempty"`

	// Status The HTTP status code.
	Status int `json:"status"`

	// Title The error response code.
	Title string `json:"title"`

	// Type The error type.
	Type *string `json:"type,omitempty"`
}

// InvalidParameters defines model for InvalidParameters.
type InvalidParameters struct {
	Choices *[]string `json:"choices,omitempty"`
	Field   *string   `json:"field,omitempty"`
	Reason  *string   `json:"reason,omitempty"`
	Rule    *string   `json:"rule,omitempty"`
}
